Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        OpenFileDialog1.ShowDialog()
    End Sub

    Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
        Dim wenjianming As String
        wenjianming = OpenFileDialog1.FileName
        Dim test As New comappLib.paraextract
        test.paramvb(wenjianming)
    End Sub
End Class
